
public class Calculator implements CalculatorInterface {
	private double result;
	
	public double add(double x, double y){
		
		this.result=x+y;
		
		
		return result;
	}
	
	public double subtract(double x, double y){
		
		this.result=x-y;
		
		
		return result;
	}

}
